home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 24
/
Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso
/
Aminet
/
util
/
cli
/
isit.readme
< prev
next >
Wrap
Text File
|
1998-03-07
|
2KB
|
86 lines
Short: V1.0 - script utility to identify file types
Author: Mark Weller
Uploader: msw@blackpool.ac.uk
Type: util/cli
IsIt v1.0 (c)1995 Mark Weller
*********************************
IsIt is a small script util to identify what a file is.
Also included is the source code in 'C'. The source will compile with
any 'C' compiler, if you have Dice execute the sourcecode to compile.
8SVX - sound sample
ILBM - iff picture
ILBM ANIM - iff animation
ICON - .info
JPEG - picture
GIF - picture
executable file and object/lib file
Included in this archive is a sample script (IsItSample.script) to
show how IsIt can be used.
Simple Script :
***************
----------------------------
.bra [
.ket ]
.key ARG
isit -e [ARG]
If NOT WARN
echo "it is executable!"
quit
EndIf
echo "UGH!"
----------------------------
to test for other file types, replace -e with the following:
-s = 8SVX -p = ILBM
-i = ICON -a = ILBM ANIM
-e = EXECUTABLE -o = OBJECT/LIB
-j = JPEG -g = GIF
IsIt HELP list:
***************
run IsIt without arguments to get this help list :
----------------------------------------
IsIt v1.0 - (c)1995 Mark Weller
----------------------------------------
usage: IsIt <-spaieojg> <filename>
----------------------------------------
-s = 8SVX -p = ILBM
-i = ICON -a = ILBM ANIM
-e = EXECUTABLE -o = OBJECT/LIB
-j = JPEG -g = GIF
----------------------------------------
Also included is the source code in 'C'. The source will compile with
any 'C' compiler, if you have Dice execute the sourcecode to compile.
Mark Weller - Feb 98
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
8724 5174 40.6% 26-Aug-91 03:26:10 +IsIt
2618 721 72.4% 26-Aug-91 03:26:14 +isit.c
1734 671 61.3% 15-Feb-98 22:05:08 +IsIt.readme
618 209 66.1% 14-Sep-95 17:27:32 +IsItSample.script
-------- ------- ----- --------- --------
13694 6775 50.5% 24-Feb-98 22:24:36 4 files